package com.gz.moreaseManager.modules.service.impl;

import com.gz.moreaseManager.modules.entity.AssistInfo;
import com.gz.moreaseManager.modules.mapper.AssistInfoMapper;
import com.gz.moreaseManager.modules.service.IAssistInfoService;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.gz.moreaseManager.utils.UtilTool;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * <p>
 * 帮助信息 服务实现类
 * </p>
 *
 * @author wike
 * @since 2019-05-28
 */
@Service
public class AssistInfoServiceImpl extends ServiceImpl<AssistInfoMapper, AssistInfo> implements IAssistInfoService {

    @Resource
    private AssistInfoMapper assistInfoMapper;


    @Override
    public AssistInfo queryAssistDetail(Integer assistId) {
        if(UtilTool.isNotBlank( assistId ))
        return assistInfoMapper.queryAssistDetail(assistId);

        return null;
    }
}
